#ifndef BEEPWINDOW_H
#define BEEPWINDOW_H

#include <QMainWindow>
#include <QGraphicsColorizeEffect>
#include <QMovie>

#define Beep_ON  	0	//蜂鸣器开
#define Beep_OFF		1   //蜂鸣器关

namespace Ui {
class BeepWindow;
}

class BeepWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit BeepWindow(QWidget *parent = nullptr);
    ~BeepWindow();
    //显示动态背景
    void show_back_gif();

private slots:
    void on_beep_btn_clicked();

    void on_return_btn_clicked();

private:
    Ui::BeepWindow *ui;
    int fd;
    int flag = 0;
};

#endif // BEEPWINDOW_H
